
static const k_sensor_reg gc2093_mipi2lane_1080p_15fps_hdr[] = {
    {0x03fe, 0xf0},
    {0x03fe, 0xf0},
    {0x03fe, 0xf0},
    {0x03fe, 0x00},
    {0x03f2, 0x00},
    {0x03f3, 0x00},
    {0x03f4, 0x36},
    {0x03f5, 0xc0},
    {0x03f6, 0x0B},
    {0x03f7, 0x01},
    {0x03f8, 0x30},
    {0x03f9, 0x40},
    {0x03fc, 0x8e},
    {0x0087, 0x18},
    {0x00ee, 0x30},
    {0x00d0, 0xbf},
    {0x01a0, 0x00},
    {0x01a4, 0x40},
    {0x01a5, 0x40},
    {0x01a6, 0x40},
    {0x01af, 0x09},
    {0x0001, 0x00},
    {0x0002, 0x02},
    {0x0003, 0x04},
    {0x0004, 0x02},
    {0x0005, 0x02},
    {0x0006, 0x94},
    {0x0007, 0x00},
    {0x0008, 0x11},
    {0x0009, 0x00},
    {0x000a, 0x02},
    {0x000b, 0x00},
    {0x000c, 0x04},
    {0x000d, 0x04},
    {0x000e, 0x40},
    {0x000f, 0x07},
    {0x0010, 0x8c},
    {0x0013, 0x15},
    {0x0013, 0x15},
    {0x0019, 0x0c},
    {0x0041, 0x04},
    {0x0042, 0xe2},
    {0x0053, 0x60},
    {0x008d, 0x92},
    {0x0090, 0x00},
    {0x00c7, 0xe1},
    {0x001b, 0x73},
    {0x0028, 0x0d},
    {0x0029, 0x24},
    {0x002b, 0x04},
    {0x002e, 0x23},
    {0x0037, 0x03},
    {0x0043, 0x04},
    {0x0044, 0x28},
    {0x004a, 0x01},
    {0x004b, 0x20},
    {0x0055, 0x28},
    {0x0066, 0x3f},
    {0x0068, 0x3f},
    {0x006b, 0x44},
    {0x0077, 0x00},
    {0x0078, 0x20},
    {0x007c, 0xa1},
    {0x00ce, 0x7c},
    {0x00d3, 0xd4},
    {0x00e6, 0x50},
    {0x00b6, 0xc0},
    {0x00b0, 0x68},
    {0x0101, 0x0c},
    {0x0102, 0x89},
    {0x0104, 0x01},
    {0x010e, 0x01},
    {0x010f, 0x00},
    {0x0158, 0x00},
    {0x0123, 0x08},
    {0x0123, 0x00},
    {0x0120, 0x01},
    {0x0121, 0x04},
    {0x0122, 0xd8},
    {0x0124, 0x03},
    {0x0125, 0xff},
    {0x001a, 0x8c},
    {0x00c6, 0xe0},
    {0x0026, 0x30},
    {0x0142, 0x00},
    {0x0149, 0x1e},
    {0x014a, 0x0f},
    {0x014b, 0x00},
    {0x0155, 0x07},
    {0x0414, 0x78},
    {0x0415, 0x78},
    {0x0416, 0x78},
    {0x0417, 0x78},
    {0x0454, 0x78},
    {0x0455, 0x78},
    {0x0456, 0x78},
    {0x0457, 0x78},
    {0x04e0, 0x18},
    {0x0192, 0x02},
    {0x0194, 0x03},
    {0x0195, 0x04},
    {0x0196, 0x38},
    {0x0197, 0x07},
    {0x0198, 0x80},
    {0x019a, 0x06},
    {0x007b, 0x2a},
    {0x0023, 0x2d},
    {0x0201, 0x27},
    {0x0202, 0x5f},
    {0x0203, 0xb6},
    {0x0212, 0x80},
    {0x0213, 0x07},
    {0x0215, 0x10},
    {0x0027, 0x71},
    {0x0215, 0x92},
    {0x024d, 0x01},
    {0x001a, 0x9c},
    {0x005a, 0x00},
    {0x005b, 0x49},
    {0x003e, 0x91},
    {REG_NULL, 0x00},
};

static const k_sensor_reg gc2093_mipi2lane_1080p_30fps_hdr[] = {
    {0x03fe, 0xf0},
    {0x03fe, 0xf0},
    {0x03fe, 0xf0},
    {0x03fe, 0x00},
    {0x03f2, 0x00},
    {0x03f3, 0x00},
    {0x03f4, 0x36},
    {0x03f5, 0xc0},
    {0x03f6, 0x0B},
    {0x03f7, 0x01},
    {0x03f8, 0x63},
    {0x03f9, 0x40},
    {0x03fc, 0x8e},
    {0x0087, 0x18},
    {0x00ee, 0x30},
    {0x00d0, 0xbf},
    {0x01a0, 0x00},
    {0x01a4, 0x40},
    {0x01a5, 0x40},
    {0x01a6, 0x40},
    {0x01af, 0x09},
    {0x0001, 0x00},
    {0x0002, 0x02},
    {0x0003, 0x04},
    {0x0004, 0x02},
    {0x0005, 0x02},
    {0x0006, 0x94},
    {0x0007, 0x00},
    {0x0008, 0x11},
    {0x0009, 0x00},
    {0x000a, 0x02},
    {0x000b, 0x00},
    {0x000c, 0x04},
    {0x000d, 0x04},
    {0x000e, 0x40},
    {0x000f, 0x07},
    {0x0010, 0x8c},
    {0x0013, 0x15},
    {0x0013, 0x15},
    {0x0019, 0x0c},
    {0x0041, 0x04},
    {0x0042, 0xe2},
    {0x0053, 0x60},
    {0x008d, 0x92},
    {0x0090, 0x00},
    {0x00c7, 0xe1},
    {0x001b, 0x73},
    {0x0028, 0x0d},
    {0x0029, 0x24},
    {0x002b, 0x04},
    {0x002e, 0x23},
    {0x0037, 0x03},
    {0x0043, 0x04},
    {0x0044, 0x28},
    {0x004a, 0x01},
    {0x004b, 0x20},
    {0x0055, 0x28},
    {0x0066, 0x3f},
    {0x0068, 0x3f},
    {0x006b, 0x44},
    {0x0077, 0x00},
    {0x0078, 0x20},
    {0x007c, 0xa1},
    {0x00ce, 0x7c},
    {0x00d3, 0xd4},
    {0x00e6, 0x50},
    {0x00b6, 0xc0},
    {0x00b0, 0x68},
    {0x0101, 0x0c},
    {0x0102, 0x89},
    {0x0104, 0x01},
    {0x010e, 0x01},
    {0x010f, 0x00},
    {0x0158, 0x00},
    {0x0123, 0x08},
    {0x0123, 0x00},
    {0x0120, 0x01},
    {0x0121, 0x04},
    {0x0122, 0xd8},
    {0x0124, 0x03},
    {0x0125, 0xff},
    {0x001a, 0x8c},
    {0x00c6, 0xe0},
    {0x0026, 0x30},
    {0x0142, 0x00},
    {0x0149, 0x1e},
    {0x014a, 0x0f},
    {0x014b, 0x00},
    {0x0155, 0x07},
    {0x0414, 0x78},
    {0x0415, 0x78},
    {0x0416, 0x78},
    {0x0417, 0x78},
    {0x0454, 0x78},
    {0x0455, 0x78},
    {0x0456, 0x78},
    {0x0457, 0x78},
    {0x04e0, 0x18},
    {0x0192, 0x02},
    {0x0194, 0x03},
    {0x0195, 0x04},
    {0x0196, 0x38},
    {0x0197, 0x07},
    {0x0198, 0x80},
    {0x019a, 0x06},
    {0x007b, 0x2a},
    {0x0023, 0x2d},
    {0x0201, 0x27},
    {0x0202, 0x5f},
    {0x0203, 0xb6},
    {0x0212, 0x80},
    {0x0213, 0x07},
    {0x0215, 0x10},
    {0x0027, 0x71},
    {0x0215, 0x92},
    {0x024d, 0x01},
    {0x001a, 0x9c},
    {0x005a, 0x00},
    {0x005b, 0x49},
    {0x003e, 0x91},
    {REG_NULL, 0x00},
};

static const k_sensor_reg gc2093_mipi2lane_1080p_30fps_linear[] = {
	//MCLK = 23.76MHz, PCLK = 47.52MHz = 2628 x 1206 x 29.98705/2
    {0x03fe,0xf0},
    {0x03fe,0xf0},
    {0x03fe,0xf0},
    {0x03fe,0x00},
    {0x03f2,0x00},
    {0x03f3,0x00},
    {0x03f4,0x36},
    {0x03f5,0xc0},
    {0x03f6,0x0B},
    {0x03f7,0x11},
    {0x03f8,0x30},
    {0x03f9,0x42},
    {0x03fc,0x8e},
    /****CISCTL & ANALOG****/
    {0x0087, 0x18},
    {0x00ee, 0x30},
    {0x00d0, 0xbf},
    {0x01a0, 0x00},
    {0x01a4, 0x40},
    {0x01a5, 0x40},
    {0x01a6, 0x40},
    {0x01af, 0x09},
    {0x0003, 0x00},	//ET
    {0x0004, 0x64},
    {0x0005, 0x05},	//line width = 0x522 = 1314 x 2 = 2628
    {0x0006, 0x22},
    {0x0007, 0x00},	//Vblank = 17
    {0x0008, 0x62},
    {0x0009, 0x00},
    {0x000a, 0x02},
    {0x000b, 0x00},
    {0x000c, 0x04},
    {0x000d, 0x04},	//win_height = 1088
    {0x000e, 0x40},
    {0x000f, 0x07},	//win_width = 1932
    {0x0010, 0x8c},
    {0x0013, 0x15},
    {0x0019, 0x0c},
    {0x0041, 0x05},	// frame length = 0x04b6 = 1206 - >1280
    {0x0042, 0x00},
    {0x0053, 0x60},
    {0x008d, 0x92},
    {0x0090, 0x00},
    {0x00c7, 0xe1},
    {0x001b, 0x73},
    {0x0028, 0x0d},
    {0x0029, 0x40},
    {0x002b, 0x04},
    {0x002e, 0x23},
    {0x0037, 0x03},
    {0x0043, 0x04},
    {0x0044, 0x30},
    {0x004a, 0x01},
    {0x004b, 0x28},
    {0x0055, 0x30},
    {0x0066, 0x3f},
    {0x0068, 0x3f},
    {0x006b, 0x44},
    {0x0077, 0x00},
    {0x0078, 0x20},
    {0x007c, 0xa1},
    {0x00ce, 0x7c},
    {0x00d3, 0xd4},
    {0x00e6, 0x50},
    /*gain*/
    {0x00b6, 0xc0},
    {0x00b0, 0x68},
    {0x00b3, 0x00},
    {0x00b8, 0x01},
    {0x00b9, 0x00},
    {0x00b1, 0x01},
    {0x00b2, 0x00},
    /*isp*/
    {0x0101, 0x0c},
    {0x0102, 0x89},
    {0x0104, 0x01},
    {0x0107, 0xa6},
    {0x0108, 0xa9},
    {0x0109, 0xa8},
    {0x010a, 0xa7},
    {0x010b, 0xff},
    {0x010c, 0xff},
    {0x010f, 0x00},
    {0x0158, 0x00},
    {0x0428, 0x86},
    {0x0429, 0x86},
    {0x042a, 0x86},
    {0x042b, 0x68},
    {0x042c, 0x68},
    {0x042d, 0x68},
    {0x042e, 0x68},
    {0x042f, 0x68},
    {0x0430, 0x4f},
    {0x0431, 0x68},
    {0x0432, 0x67},
    {0x0433, 0x66},
    {0x0434, 0x66},
    {0x0435, 0x66},
    {0x0436, 0x66},
    {0x0437, 0x66},
    {0x0438, 0x62},
    {0x0439, 0x62},
    {0x043a, 0x62},
    {0x043b, 0x62},
    {0x043c, 0x62},
    {0x043d, 0x62},
    {0x043e, 0x62},
    {0x043f, 0x62},
    /*dark sun*/
    {0x0123, 0x08},
    {0x0123, 0x00},
    {0x0120, 0x01},
    {0x0121, 0x04},
    {0x0122, 0x65},
    {0x0124, 0x03},
    {0x0125, 0xff},
    {0x001a, 0x8c},
    {0x00c6, 0xe0},
    /*blk*/
    {0x0026, 0x30},
    {0x0142, 0x00},
    {0x0149, 0x1e},
    {0x014a, 0x0f},
    {0x014b, 0x00},
    {0x0155, 0x07},
    {0x0160, 0x10},	//WB_offset(dark offset)
    {0x0414, 0x78},
    {0x0415, 0x78},
    {0x0416, 0x78},
    {0x0417, 0x78},
    {0x04e0, 0x18},
    /*window*/
    {0x0192, 0x02},	//out_win_y_off = 2 
    {0x0194, 0x03},	//out_win_x_off = 3 
    {0x0195, 0x04},	//out_win_height = 1080
    {0x0196, 0x38}, 
    {0x0197, 0x07},	//out_win_width = 1920
    {0x0198, 0x80}, 
    /****DVP & MIPI****/
    {0x0199, 0x00},	//out window offset
    {0x019a, 0x06},
    {0x007b, 0x2a},
    {0x0023, 0x2d},
    {0x0201, 0x27},
    {0x0202, 0x56},
    {0x0203, 0xb6},
    {0x0212, 0x80},
    {0x0213, 0x07},
    {0x0215, 0x10},
    {0x003e, 0x91},
    { REG_NULL, 0x00 }
};

static const k_sensor_reg gc2093_mipi2lane_1080p_60fps_linear[] = {
    //MCLK = 23.76MHz, PCLK = 96.03MHz = 2628 x 1218 x 60/2
    /****system****/
    {0x03fe, 0xf0},
    {0x03fe, 0xf0},
    {0x03fe, 0xf0},
    {0x03fe, 0x00},
    {0x03f2, 0x00},
    {0x03f3, 0x00},
    {0x03f4, 0x36},
    {0x03f5, 0xc0},
    {0x03f6, 0x0B},
    {0x03f7, 0x01},
    {0x03f8, 0x61},
    {0x03f9, 0x40},
    {0x03fc, 0x8e},
    /****CISCTL & ANALOG****/
    {0x0087, 0x18},
    {0x00ee, 0x30},
    {0x00d0, 0xbf},
    {0x01a0, 0x00},
    {0x01a4, 0x40},
    {0x01a5, 0x40},
    {0x01a6, 0x40},
    {0x01af, 0x09},
    {0x0001, 0x00},	//short frame ET
    {0x0002, 0x02},
    {0x0003, 0x00},	//ET
    {0x0004, 0x64},
    {0x0005, 0x02},	//line length = 0x291 = 657 x 4 = 2628
    {0x0006, 0x91},
    {0x0007, 0x00},	//VBlank = 17
    {0x0008, 0x6e},
    {0x0009, 0x00},
    {0x000a, 0x02},
    {0x000b, 0x00},
    {0x000c, 0x04},
    {0x000d, 0x04},	//win_height = 1088
    {0x000e, 0x40},
    {0x000f, 0x07},	//win_width = 1932
    {0x0010, 0x8c},
    {0x0013, 0x15},
    {0x0019, 0x0c},
    {0x0041, 0x05},	// frame length = 0x04c2 = 1218 -> 1280
    {0x0042, 0x00},
    {0x0053, 0x60},
    {0x008d, 0x92},
    {0x0090, 0x00},
    {0x00c7, 0xe1},
    {0x001b, 0x73},
    {0x0028, 0x0d},
    {0x0029, 0x24},
    {0x002b, 0x04},
    {0x002e, 0x23},
    {0x0037, 0x03},
    {0x0043, 0x04},
    {0x0044, 0x28},
    {0x004a, 0x01},
    {0x004b, 0x20},
    {0x0055, 0x28},
    {0x0066, 0x3f},
    {0x0068, 0x3f},
    {0x006b, 0x44},
    {0x0077, 0x00},
    {0x0078, 0x20},
    {0x007c, 0xa1},
    {0x00ce, 0x7c},
    {0x00d3, 0xd4},
    {0x00e6, 0x50},
    /*gain*/
    {0x00b6, 0xc0},
    {0x00b0, 0x68},//0x60
    {0x00b3, 0x00},
    {0x00b8, 0x01},
    {0x00b9, 0x00},
    {0x00b1, 0x01},
    {0x00b2, 0x00},
    /*isp*/
    {0x0101, 0x0c},
    {0x0102, 0x89},
    {0x0104, 0x01},
    {0x0107, 0xa6},
    {0x0108, 0xa9},
    {0x0109, 0xa8},
    {0x010a, 0xa7},
    {0x010b, 0xff},
    {0x010c, 0xff},
    {0x010f, 0x00},
    {0x0158, 0x00},
    {0x0428, 0x86},
    {0x0429, 0x86},
    {0x042a, 0x86},
    {0x042b, 0x68},
    {0x042c, 0x68},
    {0x042d, 0x68},
    {0x042e, 0x68},
    {0x042f, 0x68},
    {0x0430, 0x4f},
    {0x0431, 0x68},
    {0x0432, 0x67},
    {0x0433, 0x66},
    {0x0434, 0x66},
    {0x0435, 0x66},
    {0x0436, 0x66},
    {0x0437, 0x66},
    {0x0438, 0x62},
    {0x0439, 0x62},
    {0x043a, 0x62},
    {0x043b, 0x62},
    {0x043c, 0x62},
    {0x043d, 0x62},
    {0x043e, 0x62},
    {0x043f, 0x62},
    /*dark sun*/
    {0x0123, 0x08},
    {0x0123, 0x00},
    {0x0120, 0x01},
    {0x0121, 0x04},
    {0x0122, 0xd8},
    {0x0124, 0x03},
    {0x0125, 0xff},
    {0x001a, 0x8c},
    {0x00c6, 0xe0},
    /*blk*/
    {0x0026, 0x30},
    {0x0142, 0x00},
    {0x0149, 0x1e},
    {0x014a, 0x0f},
    {0x014b, 0x00},
    {0x0155, 0x07},
    {0x0160, 0x10},	//WB_offset(dark offset)
    {0x0414, 0x78},
    {0x0415, 0x78},
    {0x0416, 0x78},
    {0x0417, 0x78},
    {0x0454, 0x78},
    {0x0455, 0x78},
    {0x0456, 0x78},
    {0x0457, 0x78},
    {0x04e0, 0x18},
    /*window*/
    {0x0192, 0x02},	//out_win_y_off = 2
    {0x0194, 0x03},	//out_win_x_off = 3
    {0x0195, 0x04},	//out_win_height = 1080
    {0x0196, 0x38},
    {0x0197, 0x07},	//out_win_width = 1920
    {0x0198, 0x80},
    /****DVP & MIPI****/
    {0x0199, 0x00},	//out window offset
    {0x019a, 0x06},
    {0x007b, 0x2a},
    {0x0023, 0x2d},
    {0x0201, 0x27},
    {0x0202, 0x56},
    {0x0203, 0xb6},
    {0x0212, 0x80},
    {0x0213, 0x07},
    {0x0215, 0x10},
    {0x003e, 0x91},
    {REG_NULL, 0x00},
};

static const k_sensor_reg gc2093_mipi2lane_960p_90fps_linear[] = {
    //PCLK = 126.72MHz = 2628 x 1072 x 89.96/2
    /****system****/
    {0x03fe, 0xf0},
    {0x03fe, 0xf0},
    {0x03fe, 0xf0},
    {0x03fe, 0x00},
    {0x03f2, 0x00},
    {0x03f3, 0x00},
    {0x03f4, 0x36},
    {0x03f5, 0xc0},
    {0x03f6, 0x0B},
    {0x03f7, 0x01},
    {0x03f8, 0x7c},
    {0x03f9, 0x40},
    {0x03fc, 0x8e},
    /****CISCTL & ANALOG****/
    {0x0087, 0x18},
    {0x00ee, 0x30},
    {0x00d0, 0xbf},
    {0x01a0, 0x00},
    {0x01a4, 0x40},
    {0x01a5, 0x40},
    {0x01a6, 0x40},
    {0x01af, 0x09},
    {0x0001, 0x00},	//short frame ET
    {0x0002, 0x02},
    {0x0003, 0x00},	//ET
    {0x0004, 0x64},
    {0x0005, 0x02},	//line length = 0x291 = 657 x 4 = 2628
    {0x0006, 0x91},
    {0x0007, 0x00},	//VBlank = 17
    {0x0008, 0x58},
    {0x0009, 0x00},	//y start = 0x3e = 62
    {0x000a, 0x3e},
    {0x000b, 0x02},	//x start = 0x144 = 324
    {0x000c, 0x88},
    {0x000d, 0x03},	//win_height = 964
    {0x000e, 0xc4},
    {0x000f, 0x05},	//win_width = 1288
    {0x0010, 0x08},
    {0x0013, 0x15},
    {0x0019, 0x0c},
    {0x0041, 0x04},	// frame length = 0x0430= 1072
    {0x0042, 0x30},
    {0x0053, 0x60},
    {0x008d, 0x92},
    {0x0090, 0x00},
    {0x00c7, 0xe1},
    {0x001b, 0x73},
    {0x0028, 0x0d},
    {0x0029, 0x24},
    {0x002b, 0x04},
    {0x002e, 0x23},
    {0x0037, 0x03},
    {0x0043, 0x04},
    {0x0044, 0x28},
    {0x004a, 0x01},
    {0x004b, 0x20},
    {0x0055, 0x28},
    {0x0066, 0x3f},
    {0x0068, 0x3f},
    {0x006b, 0x44},
    {0x0077, 0x00},
    {0x0078, 0x20},
    {0x007c, 0xa1},
    {0x00ce, 0x7c},
    {0x00d3, 0xd4},
    {0x00e6, 0x50},
    /*gain*/
    {0x00b6, 0xc0},
    {0x00b0, 0x68},//0x60
    {0x00b3, 0x00},
    {0x00b8, 0x01},
    {0x00b9, 0x00},
    {0x00b1, 0x01},
    {0x00b2, 0x00},
    /*isp*/
    {0x0101, 0x0c},
    {0x0102, 0x89},
    {0x0104, 0x01},
    {0x0107, 0xa6},
    {0x0108, 0xa9},
    {0x0109, 0xa8},
    {0x010a, 0xa7},
    {0x010b, 0xff},
    {0x010c, 0xff},
    {0x010f, 0x00},
    {0x0158, 0x00},
    {0x0428, 0x86},
    {0x0429, 0x86},
    {0x042a, 0x86},
    {0x042b, 0x68},
    {0x042c, 0x68},
    {0x042d, 0x68},
    {0x042e, 0x68},
    {0x042f, 0x68},
    {0x0430, 0x4f},
    {0x0431, 0x68},
    {0x0432, 0x67},
    {0x0433, 0x66},
    {0x0434, 0x66},
    {0x0435, 0x66},
    {0x0436, 0x66},
    {0x0437, 0x66},
    {0x0438, 0x62},
    {0x0439, 0x62},
    {0x043a, 0x62},
    {0x043b, 0x62},
    {0x043c, 0x62},
    {0x043d, 0x62},
    {0x043e, 0x62},
    {0x043f, 0x62},
    /*dark sun*/
    {0x0123, 0x08},
    {0x0123, 0x00},
    {0x0120, 0x01},
    {0x0121, 0x04},
    {0x0122, 0xd8},
    {0x0124, 0x03},
    {0x0125, 0xff},
    {0x001a, 0x8c},
    {0x00c6, 0xe0},
    /*blk*/
    {0x0026, 0x30},
    {0x0142, 0x00},
    {0x0149, 0x1e},
    {0x014a, 0x0f},
    {0x014b, 0x00},
    {0x0155, 0x07},
    {0x0160, 0x10},	//WB_offset(dark offset)
    {0x0414, 0x78},
    {0x0415, 0x78},
    {0x0416, 0x78},
    {0x0417, 0x78},
    {0x0454, 0x78},
    {0x0455, 0x78},
    {0x0456, 0x78},
    {0x0457, 0x78},
    {0x04e0, 0x18},
    /*window*/
    {0x0192, 0x02},	//out_win_y_off = 2
    {0x0194, 0x03},	//out_win_x_off = 3
    {0x0195, 0x03},	//out_win_height = 960
    {0x0196, 0xc0},
    {0x0197, 0x05},	//out_win_width = 1280
    {0x0198, 0x00},
    /****DVP & MIPI****/
    {0x0199, 0x00},	//out window offset
    {0x019a, 0x06},
    {0x007b, 0x2a},
    {0x0023, 0x2d},
    {0x0201, 0x27},
    {0x0202, 0x56},
    {0x0203, 0xb6},
    {0x0212, 0x80},
    {0x0213, 0x07},
    {0x0215, 0x10},
    {0x003e, 0x91},
    {REG_NULL, 0x00},
};

static const k_sensor_reg gc2093_mipi2lane_720p_90fps_linear[] = {
    //MCLK = 23.76MHz, PCLK = 99MHz = 2628 x 837 x 90.015/2
    /****system****/
    {0x03fe, 0xf0},
    {0x03fe, 0xf0},
    {0x03fe, 0xf0},
    {0x03fe, 0x00},
    {0x03f2, 0x00},
    {0x03f3, 0x00},
    {0x03f4, 0x36},
    {0x03f5, 0xc0},
    {0x03f6, 0x0B},
    {0x03f7, 0x01},
    {0x03f8, 0x64},
    {0x03f9, 0x40},
    {0x03fc, 0x8e},
    /****CISCTL & ANALOG****/
    {0x0087, 0x18},
    {0x00ee, 0x30},
    {0x00d0, 0xbf},
    {0x01a0, 0x00},
    {0x01a4, 0x40},
    {0x01a5, 0x40},
    {0x01a6, 0x40},
    {0x01af, 0x09},
    {0x0001, 0x00},	//short frame ET
    {0x0002, 0x02},
    {0x0003, 0x00},	//ET
    {0x0004, 0x64},
    {0x0005, 0x02},	//line length = 0x291 = 657 x 4 = 2628
    {0x0006, 0x91},
    {0x0007, 0x00},	//VBlank = 17
    {0x0008, 0x5d},
    {0x0009, 0x00},	//y start = 0xb6 = 182
    {0x000a, 0xb6},
    {0x000b, 0x02},	//x start = 0x144 = 324
    {0x000c, 0x88},
    {0x000d, 0x02},	//win_height = 724
    {0x000e, 0xd4},
    {0x000f, 0x05},	//win_width = 1288
    {0x0010, 0x08},
    {0x0013, 0x15},
    {0x0019, 0x0c},
    {0x0041, 0x03},	// frame length = 0x0345 = 837
    {0x0042, 0x45},
    {0x0053, 0x60},
    {0x008d, 0x92},
    {0x0090, 0x00},
    {0x00c7, 0xe1},
    {0x001b, 0x73},
    {0x0028, 0x0d},
    {0x0029, 0x24},
    {0x002b, 0x04},
    {0x002e, 0x23},
    {0x0037, 0x03},
    {0x0043, 0x04},
    {0x0044, 0x28},
    {0x004a, 0x01},
    {0x004b, 0x20},
    {0x0055, 0x28},
    {0x0066, 0x3f},
    {0x0068, 0x3f},
    {0x006b, 0x44},
    {0x0077, 0x00},
    {0x0078, 0x20},
    {0x007c, 0xa1},
    {0x00ce, 0x7c},
    {0x00d3, 0xd4},
    {0x00e6, 0x50},
    /*gain*/
    {0x00b6, 0xc0},
    {0x00b0, 0x68},//0x60
    {0x00b3, 0x00},
    {0x00b8, 0x01},
    {0x00b9, 0x00},
    {0x00b1, 0x01},
    {0x00b2, 0x00},
    /*isp*/
    {0x0101, 0x0c},
    {0x0102, 0x89},
    {0x0104, 0x01},
    {0x0107, 0xa6},
    {0x0108, 0xa9},
    {0x0109, 0xa8},
    {0x010a, 0xa7},
    {0x010b, 0xff},
    {0x010c, 0xff},
    {0x010f, 0x00},
    {0x0158, 0x00},
    {0x0428, 0x86},
    {0x0429, 0x86},
    {0x042a, 0x86},
    {0x042b, 0x68},
    {0x042c, 0x68},
    {0x042d, 0x68},
    {0x042e, 0x68},
    {0x042f, 0x68},
    {0x0430, 0x4f},
    {0x0431, 0x68},
    {0x0432, 0x67},
    {0x0433, 0x66},
    {0x0434, 0x66},
    {0x0435, 0x66},
    {0x0436, 0x66},
    {0x0437, 0x66},
    {0x0438, 0x62},
    {0x0439, 0x62},
    {0x043a, 0x62},
    {0x043b, 0x62},
    {0x043c, 0x62},
    {0x043d, 0x62},
    {0x043e, 0x62},
    {0x043f, 0x62},
    /*dark sun*/
    {0x0123, 0x08},
    {0x0123, 0x00},
    {0x0120, 0x01},
    {0x0121, 0x04},
    {0x0122, 0xd8},
    {0x0124, 0x03},
    {0x0125, 0xff},
    {0x001a, 0x8c},
    {0x00c6, 0xe0},
    /*blk*/
    {0x0026, 0x30},
    {0x0142, 0x00},
    {0x0149, 0x1e},
    {0x014a, 0x0f},
    {0x014b, 0x00},
    {0x0155, 0x07},
    {0x0160, 0x10},	//WB_offset(dark offset)
    {0x0414, 0x78},
    {0x0415, 0x78},
    {0x0416, 0x78},
    {0x0417, 0x78},
    {0x0454, 0x78},
    {0x0455, 0x78},
    {0x0456, 0x78},
    {0x0457, 0x78},
    {0x04e0, 0x18},
    /*window*/
    {0x0192, 0x02},	//out_win_y_off = 2
    {0x0194, 0x03},	//out_win_x_off = 3
    {0x0195, 0x02},	//out_win_height = 720
    {0x0196, 0xd0},
    {0x0197, 0x05},	//out_win_width = 1280
    {0x0198, 0x00},
    /****DVP & MIPI****/
    {0x0199, 0x00},	//out window offset
    {0x019a, 0x06},
    {0x007b, 0x2a},
    {0x0023, 0x2d},
    {0x0201, 0x27},
    {0x0202, 0x56},
    {0x0203, 0xb6},
    {0x0212, 0x80},
    {0x0213, 0x07},
    {0x0215, 0x10},
    {0x003e, 0x91},
    {REG_NULL, 0x00},
};

static const k_sensor_reg gc2093_mipi2lane_1080p_30fps_mclk_24m_linear[] = {
	//MCLK = 24MHz, PCLK = 48MHz = 2628 x 1218 x 29.99153/2
    {0x03fe,0xf0},
    {0x03fe,0xf0},
    {0x03fe,0xf0},
    {0x03fe,0x00},
    {0x03f2,0x00},
    {0x03f3,0x00},
    {0x03f4,0x36},
    {0x03f5,0xc0},
    {0x03f6,0x0B},
    {0x03f7,0x11},
    {0x03f8,0x30},
    {0x03f9,0x42},
    {0x03fc,0x8e},
    /****CISCTL & ANALOG****/
    {0x0087, 0x18},
    {0x00ee, 0x30},
    {0x00d0, 0xbf},
    {0x01a0, 0x00},
    {0x01a4, 0x40},
    {0x01a5, 0x40},
    {0x01a6, 0x40},
    {0x01af, 0x09},
    {0x0003, 0x00},	//ET
    {0x0004, 0x64},
    {0x0005, 0x05},	//line width = 0x522 = 1314 x 2 = 2628
    {0x0006, 0x22},
    {0x0007, 0x00},	//Vblank = 17
    {0x0008, 0x6e},
    {0x0009, 0x00},
    {0x000a, 0x02},
    {0x000b, 0x00},
    {0x000c, 0x04},
    {0x000d, 0x04},	//win_height = 1088
    {0x000e, 0x40},
    {0x000f, 0x07},	//win_width = 1932
    {0x0010, 0x8c},
    {0x0013, 0x15},
    {0x0019, 0x0c},
    {0x0041, 0x05},	// frame length = 0x04c2 = 1218
    {0x0042, 0x00},
    {0x0053, 0x60},
    {0x008d, 0x92},
    {0x0090, 0x00},
    {0x00c7, 0xe1},
    {0x001b, 0x73},
    {0x0028, 0x0d},
    {0x0029, 0x40},
    {0x002b, 0x04},
    {0x002e, 0x23},
    {0x0037, 0x03},
    {0x0043, 0x04},
    {0x0044, 0x30},
    {0x004a, 0x01},
    {0x004b, 0x28},
    {0x0055, 0x30},
    {0x0066, 0x3f},
    {0x0068, 0x3f},
    {0x006b, 0x44},
    {0x0077, 0x00},
    {0x0078, 0x20},
    {0x007c, 0xa1},
    {0x00ce, 0x7c},
    {0x00d3, 0xd4},
    {0x00e6, 0x50},
    /*gain*/
    {0x00b6, 0xc0},
    {0x00b0, 0x68},
    {0x00b3, 0x00},
    {0x00b8, 0x01},
    {0x00b9, 0x00},
    {0x00b1, 0x01},
    {0x00b2, 0x00},
    /*isp*/
    {0x0101, 0x0c},
    {0x0102, 0x89},
    {0x0104, 0x01},
    {0x0107, 0xa6},
    {0x0108, 0xa9},
    {0x0109, 0xa8},
    {0x010a, 0xa7},
    {0x010b, 0xff},
    {0x010c, 0xff},
    {0x010f, 0x00},
    {0x0158, 0x00},
    {0x0428, 0x86},
    {0x0429, 0x86},
    {0x042a, 0x86},
    {0x042b, 0x68},
    {0x042c, 0x68},
    {0x042d, 0x68},
    {0x042e, 0x68},
    {0x042f, 0x68},
    {0x0430, 0x4f},
    {0x0431, 0x68},
    {0x0432, 0x67},
    {0x0433, 0x66},
    {0x0434, 0x66},
    {0x0435, 0x66},
    {0x0436, 0x66},
    {0x0437, 0x66},
    {0x0438, 0x62},
    {0x0439, 0x62},
    {0x043a, 0x62},
    {0x043b, 0x62},
    {0x043c, 0x62},
    {0x043d, 0x62},
    {0x043e, 0x62},
    {0x043f, 0x62},
    /*dark sun*/
    {0x0123, 0x08},
    {0x0123, 0x00},
    {0x0120, 0x01},
    {0x0121, 0x04},
    {0x0122, 0x65},
    {0x0124, 0x03},
    {0x0125, 0xff},
    {0x001a, 0x8c},
    {0x00c6, 0xe0},
    /*blk*/
    {0x0026, 0x30},
    {0x0142, 0x00},
    {0x0149, 0x1e},
    {0x014a, 0x0f},
    {0x014b, 0x00},
    {0x0155, 0x07},
    {0x0160, 0x10},	//WB_offset(dark offset)
    {0x0414, 0x78},
    {0x0415, 0x78},
    {0x0416, 0x78},
    {0x0417, 0x78},
    {0x04e0, 0x18},
    /*window*/
    {0x0192, 0x02},	//out_win_y_off = 2 
    {0x0194, 0x03},	//out_win_x_off = 3 
    {0x0195, 0x04},	//out_win_height = 1080
    {0x0196, 0x38}, 
    {0x0197, 0x07},	//out_win_width = 1920
    {0x0198, 0x80}, 
    /****DVP & MIPI****/
    {0x0199, 0x00},	//out window offset
    {0x019a, 0x06},
    {0x007b, 0x2a},
    {0x0023, 0x2d},
    {0x0201, 0x27},
    {0x0202, 0x56},
    {0x0203, 0xb6},
    {0x0212, 0x80},
    {0x0213, 0x07},
    {0x0215, 0x10},
    {0x003e, 0x91},
    { REG_NULL, 0x00 }
};

static const k_sensor_reg gc2093_mipi2lane_1080p_60fps_mclk_24m_linear[] = {
    //MCLK = 24MHz, PCLK = 96MHz = 2628 x 1218 x 59.983/2
    /****system****/
    {0x03fe, 0xf0},
    {0x03fe, 0xf0},
    {0x03fe, 0xf0},
    {0x03fe, 0x00},
    {0x03f2, 0x00},
    {0x03f3, 0x00},
    {0x03f4, 0x36},
    {0x03f5, 0xc0},
    {0x03f6, 0x0B},
    {0x03f7, 0x01},
    {0x03f8, 0x60},
    {0x03f9, 0x40},
    {0x03fc, 0x8e},
    /****CISCTL & ANALOG****/
    {0x0087, 0x18},
    {0x00ee, 0x30},
    {0x00d0, 0xbf},
    {0x01a0, 0x00},
    {0x01a4, 0x40},
    {0x01a5, 0x40},
    {0x01a6, 0x40},
    {0x01af, 0x09},
    {0x0001, 0x00},	//short frame ET
    {0x0002, 0x02},
    {0x0003, 0x00},	//ET
    {0x0004, 0x64},
    {0x0005, 0x02},	//line length = 0x291 = 657 x 4 = 2628
    {0x0006, 0x91},
    {0x0007, 0x00},	//VBlank = 17
    {0x0008, 0x6e},
    {0x0009, 0x00},
    {0x000a, 0x02},
    {0x000b, 0x00},
    {0x000c, 0x04},
    {0x000d, 0x04},	//win_height = 1088
    {0x000e, 0x40},
    {0x000f, 0x07},	//win_width = 1932
    {0x0010, 0x8c},
    {0x0013, 0x15},
    {0x0019, 0x0c},
#if defined (CONFIG_MPP_SENSOR_GC2093_ON_CSI0_USE_CHIP_CLK) || defined (CONFIG_MPP_SENSOR_GC2093_ON_CSI1_USE_CHIP_CLK) || defined (CONFIG_MPP_SENSOR_GC2093_ON_CSI2_USE_CHIP_CLK)
    {0x0041, 0x05},	// frame length = 0x04c2 = 1218
    {0x0042, 0x00},
#else
    {0x0041, 0x05 /* 0x04 */},	// frame length = 0x04c2 = 1218
    {0x0042, 0x00 /* 0xc2 */},
#endif
    {0x0053, 0x60},
    {0x008d, 0x92},
    {0x0090, 0x00},
    {0x00c7, 0xe1},
    {0x001b, 0x73},
    {0x0028, 0x0d},
    {0x0029, 0x24},
    {0x002b, 0x04},
    {0x002e, 0x23},
    {0x0037, 0x03},
    {0x0043, 0x04},
    {0x0044, 0x28},
    {0x004a, 0x01},
    {0x004b, 0x20},
    {0x0055, 0x28},
    {0x0066, 0x3f},
    {0x0068, 0x3f},
    {0x006b, 0x44},
    {0x0077, 0x00},
    {0x0078, 0x20},
    {0x007c, 0xa1},
    {0x00ce, 0x7c},
    {0x00d3, 0xd4},
    {0x00e6, 0x50},
    /*gain*/
    {0x00b6, 0xc0},
    {0x00b0, 0x68},//0x60
    {0x00b3, 0x00},
    {0x00b8, 0x01},
    {0x00b9, 0x00},
    {0x00b1, 0x01},
    {0x00b2, 0x00},
    /*isp*/
    {0x0101, 0x0c},
    {0x0102, 0x89},
    {0x0104, 0x01},
    {0x0107, 0xa6},
    {0x0108, 0xa9},
    {0x0109, 0xa8},
    {0x010a, 0xa7},
    {0x010b, 0xff},
    {0x010c, 0xff},
    {0x010f, 0x00},
    {0x0158, 0x00},
    {0x0428, 0x86},
    {0x0429, 0x86},
    {0x042a, 0x86},
    {0x042b, 0x68},
    {0x042c, 0x68},
    {0x042d, 0x68},
    {0x042e, 0x68},
    {0x042f, 0x68},
    {0x0430, 0x4f},
    {0x0431, 0x68},
    {0x0432, 0x67},
    {0x0433, 0x66},
    {0x0434, 0x66},
    {0x0435, 0x66},
    {0x0436, 0x66},
    {0x0437, 0x66},
    {0x0438, 0x62},
    {0x0439, 0x62},
    {0x043a, 0x62},
    {0x043b, 0x62},
    {0x043c, 0x62},
    {0x043d, 0x62},
    {0x043e, 0x62},
    {0x043f, 0x62},
    /*dark sun*/
    {0x0123, 0x08},
    {0x0123, 0x00},
    {0x0120, 0x01},
    {0x0121, 0x04},
    {0x0122, 0xd8},
    {0x0124, 0x03},
    {0x0125, 0xff},
    {0x001a, 0x8c},
    {0x00c6, 0xe0},
    /*blk*/
    {0x0026, 0x30},
    {0x0142, 0x00},
    {0x0149, 0x1e},
    {0x014a, 0x0f},
    {0x014b, 0x00},
    {0x0155, 0x07},
    {0x0160, 0x10},	//WB_offset(dark offset)
    {0x0414, 0x78},
    {0x0415, 0x78},
    {0x0416, 0x78},
    {0x0417, 0x78},
    {0x0454, 0x78},
    {0x0455, 0x78},
    {0x0456, 0x78},
    {0x0457, 0x78},
    {0x04e0, 0x18},
    /*window*/
    {0x0192, 0x02},	//out_win_y_off = 2
    {0x0194, 0x03},	//out_win_x_off = 3
    {0x0195, 0x04},	//out_win_height = 1080
    {0x0196, 0x38},
    {0x0197, 0x07},	//out_win_width = 1920
    {0x0198, 0x80},
    /****DVP & MIPI****/
    {0x0199, 0x00},	//out window offset
    {0x019a, 0x06},
    {0x007b, 0x2a},
    {0x0023, 0x2d},
    {0x0201, 0x27},
    {0x0202, 0x56},
    {0x0203, 0xb6},
    {0x0212, 0x80},
    {0x0213, 0x07},
    {0x0215, 0x10},
    {0x003e, 0x91},
    {REG_NULL, 0x00},
};

static const k_sensor_reg gc2093_mipi2lane_960p_90fps_mclk_24m_linear[] = {
    //MCLK = 24MHz, PCLK = 120MHz = 2628 x 1074 x 85.03/2
    /****system****/
    {0x03fe, 0xf0},
    {0x03fe, 0xf0},
    {0x03fe, 0xf0},
    {0x03fe, 0x00},
    {0x03f2, 0x00},
    {0x03f3, 0x00},
    {0x03f4, 0x36},
    {0x03f5, 0xc0},
    {0x03f6, 0x0d},	//refmp_div = 5
    {0x03f7, 0x01},
    {0x03f8, 0xc4},	//0xc9= 196(200)
    {0x03f9, 0x40},
    {0x03fc, 0x8e},
    /****CISCTL & ANALOG****/
    {0x0087, 0x18},
    {0x00ee, 0x30},
    {0x00d0, 0xbf},
    {0x01a0, 0x00},
    {0x01a4, 0x40},
    {0x01a5, 0x40},
    {0x01a6, 0x40},
    {0x01af, 0x09},
    {0x0001, 0x00},	//short frame ET
    {0x0002, 0x02},
    {0x0003, 0x00},	//ET
    {0x0004, 0x64},
    {0x0005, 0x02},	//line length = 0x291 = 657 x 4 = 2628
    {0x0006, 0x91},
    {0x0007, 0x00},	//VBlank = 17
    {0x0008, 0x5a},
    {0x0009, 0x00},	//y start = 0x3e = 62
    {0x000a, 0x3e},
    {0x000b, 0x02},	//x start = 0x144 = 324
    {0x000c, 0x88},
    {0x000d, 0x03},	//win_height = 964
    {0x000e, 0xc4},
    {0x000f, 0x05},	//win_width = 1288
    {0x0010, 0x08},
    {0x0013, 0x15},
    {0x0019, 0x0c},
    {0x0041, 0x04},	// frame length = 0x042b = 1074
    {0x0042, 0x32},
    {0x0053, 0x60},
    {0x008d, 0x92},
    {0x0090, 0x00},
    {0x00c7, 0xe1},
    {0x001b, 0x73},
    {0x0028, 0x0d},
    {0x0029, 0x24},
    {0x002b, 0x04},
    {0x002e, 0x23},
    {0x0037, 0x03},
    {0x0043, 0x04},
    {0x0044, 0x28},
    {0x004a, 0x01},
    {0x004b, 0x20},
    {0x0055, 0x28},
    {0x0066, 0x3f},
    {0x0068, 0x3f},
    {0x006b, 0x44},
    {0x0077, 0x00},
    {0x0078, 0x20},
    {0x007c, 0xa1},
    {0x00ce, 0x7c},
    {0x00d3, 0xd4},
    {0x00e6, 0x50},
    /*gain*/
    {0x00b6, 0xc0},
    {0x00b0, 0x68},//0x60
    {0x00b3, 0x00},
    {0x00b8, 0x01},
    {0x00b9, 0x00},
    {0x00b1, 0x01},
    {0x00b2, 0x00},
    /*isp*/
    {0x0101, 0x0c},
    {0x0102, 0x89},
    {0x0104, 0x01},
    {0x0107, 0xa6},
    {0x0108, 0xa9},
    {0x0109, 0xa8},
    {0x010a, 0xa7},
    {0x010b, 0xff},
    {0x010c, 0xff},
    {0x010f, 0x00},
    {0x0158, 0x00},
    {0x0428, 0x86},
    {0x0429, 0x86},
    {0x042a, 0x86},
    {0x042b, 0x68},
    {0x042c, 0x68},
    {0x042d, 0x68},
    {0x042e, 0x68},
    {0x042f, 0x68},
    {0x0430, 0x4f},
    {0x0431, 0x68},
    {0x0432, 0x67},
    {0x0433, 0x66},
    {0x0434, 0x66},
    {0x0435, 0x66},
    {0x0436, 0x66},
    {0x0437, 0x66},
    {0x0438, 0x62},
    {0x0439, 0x62},
    {0x043a, 0x62},
    {0x043b, 0x62},
    {0x043c, 0x62},
    {0x043d, 0x62},
    {0x043e, 0x62},
    {0x043f, 0x62},
    /*dark sun*/
    {0x0123, 0x08},
    {0x0123, 0x00},
    {0x0120, 0x01},
    {0x0121, 0x04},
    {0x0122, 0xd8},
    {0x0124, 0x03},
    {0x0125, 0xff},
    {0x001a, 0x8c},
    {0x00c6, 0xe0},
    /*blk*/
    {0x0026, 0x30},
    {0x0142, 0x00},
    {0x0149, 0x1e},
    {0x014a, 0x0f},
    {0x014b, 0x00},
    {0x0155, 0x07},
    {0x0160, 0x10},	//WB_offset(dark offset)
    {0x0414, 0x78},
    {0x0415, 0x78},
    {0x0416, 0x78},
    {0x0417, 0x78},
    {0x0454, 0x78},
    {0x0455, 0x78},
    {0x0456, 0x78},
    {0x0457, 0x78},
    {0x04e0, 0x18},
    /*window*/
    {0x0192, 0x02},	//out_win_y_off = 2
    {0x0194, 0x03},	//out_win_x_off = 3
    {0x0195, 0x03},	//out_win_height = 960
    {0x0196, 0xc0},
    {0x0197, 0x05},	//out_win_width = 1280
    {0x0198, 0x00},
    /****DVP & MIPI****/
    {0x0199, 0x00},	//out window offset
    {0x019a, 0x06},
    {0x007b, 0x2a},
    {0x0023, 0x2d},
    {0x0201, 0x27},
    {0x0202, 0x56},
    {0x0203, 0xb6},
    {0x0212, 0x80},
    {0x0213, 0x07},
    {0x0215, 0x10},
    {0x003e, 0x91},
    {REG_NULL, 0x00},
};

static const k_sensor_reg gc2093_mipi2lane_720p_90fps_mclk_24m_linear[] = {
    //MCLK = 24MHz, PCLK = 99MHz = 2628 x 837 x 90.015/2, MIPI clk = 792Mbps
    /****system****/
    {0x03fe, 0xf0},
    {0x03fe, 0xf0},
    {0x03fe, 0xf0},
    {0x03fe, 0x00},
    {0x03f2, 0x00},
    {0x03f3, 0x00},
    {0x03f4, 0x36},
    {0x03f5, 0xc0},
    {0x03f6, 0x0B},
    {0x03f7, 0x01},
    {0x03f8, 0x63},
    {0x03f9, 0x40},
    {0x03fc, 0x8e},
    /****CISCTL & ANALOG****/
    {0x0087, 0x18},
    {0x00ee, 0x30},
    {0x00d0, 0xbf},
    {0x01a0, 0x00},
    {0x01a4, 0x40},
    {0x01a5, 0x40},
    {0x01a6, 0x40},
    {0x01af, 0x09},
    {0x0001, 0x00},	//short frame ET
    {0x0002, 0x02},
    {0x0003, 0x00},	//ET
    {0x0004, 0x64},
    {0x0005, 0x02},	//line length = 0x291 = 657 x 4 = 2628
    {0x0006, 0x91},
    {0x0007, 0x00},	//VBlank = 17
    {0x0008, 0x5d},
    {0x0009, 0x00},	//y start = 0xb6 = 182
    {0x000a, 0xb6},
    {0x000b, 0x02},	//x start = 0x144 = 324
    {0x000c, 0x88},
    {0x000d, 0x02},	//win_height = 724
    {0x000e, 0xd4},
    {0x000f, 0x05},	//win_width = 1288
    {0x0010, 0x08},
    {0x0013, 0x15},
    {0x0019, 0x0c},
    {0x0041, 0x03},	// frame length = 0x0345 = 837
    {0x0042, 0x45},
    {0x0053, 0x60},
    {0x008d, 0x92},
    {0x0090, 0x00},
    {0x00c7, 0xe1},
    {0x001b, 0x73},
    {0x0028, 0x0d},
    {0x0029, 0x24},
    {0x002b, 0x04},
    {0x002e, 0x23},
    {0x0037, 0x03},
    {0x0043, 0x04},
    {0x0044, 0x28},
    {0x004a, 0x01},
    {0x004b, 0x20},
    {0x0055, 0x28},
    {0x0066, 0x3f},
    {0x0068, 0x3f},
    {0x006b, 0x44},
    {0x0077, 0x00},
    {0x0078, 0x20},
    {0x007c, 0xa1},
    {0x00ce, 0x7c},
    {0x00d3, 0xd4},
    {0x00e6, 0x50},
    /*gain*/
    {0x00b6, 0xc0},
    {0x00b0, 0x68},//0x60
    {0x00b3, 0x00},
    {0x00b8, 0x01},
    {0x00b9, 0x00},
    {0x00b1, 0x01},
    {0x00b2, 0x00},
    /*isp*/
    {0x0101, 0x0c},
    {0x0102, 0x89},
    {0x0104, 0x01},
    {0x0107, 0xa6},
    {0x0108, 0xa9},
    {0x0109, 0xa8},
    {0x010a, 0xa7},
    {0x010b, 0xff},
    {0x010c, 0xff},
    {0x010f, 0x00},
    {0x0158, 0x00},
    {0x0428, 0x86},
    {0x0429, 0x86},
    {0x042a, 0x86},
    {0x042b, 0x68},
    {0x042c, 0x68},
    {0x042d, 0x68},
    {0x042e, 0x68},
    {0x042f, 0x68},
    {0x0430, 0x4f},
    {0x0431, 0x68},
    {0x0432, 0x67},
    {0x0433, 0x66},
    {0x0434, 0x66},
    {0x0435, 0x66},
    {0x0436, 0x66},
    {0x0437, 0x66},
    {0x0438, 0x62},
    {0x0439, 0x62},
    {0x043a, 0x62},
    {0x043b, 0x62},
    {0x043c, 0x62},
    {0x043d, 0x62},
    {0x043e, 0x62},
    {0x043f, 0x62},
    /*dark sun*/
    {0x0123, 0x08},
    {0x0123, 0x00},
    {0x0120, 0x01},
    {0x0121, 0x04},
    {0x0122, 0xd8},
    {0x0124, 0x03},
    {0x0125, 0xff},
    {0x001a, 0x8c},
    {0x00c6, 0xe0},
    /*blk*/
    {0x0026, 0x30},
    {0x0142, 0x00},
    {0x0149, 0x1e},
    {0x014a, 0x0f},
    {0x014b, 0x00},
    {0x0155, 0x07},
    {0x0160, 0x10},	//WB_offset(dark offset)
    {0x0414, 0x78},
    {0x0415, 0x78},
    {0x0416, 0x78},
    {0x0417, 0x78},
    {0x0454, 0x78},
    {0x0455, 0x78},
    {0x0456, 0x78},
    {0x0457, 0x78},
    {0x04e0, 0x18},
    /*window*/
    {0x0192, 0x02},	//out_win_y_off = 2
    {0x0194, 0x03},	//out_win_x_off = 3
    {0x0195, 0x02},	//out_win_height = 720
    {0x0196, 0xd0},
    {0x0197, 0x05},	//out_win_width = 1280
    {0x0198, 0x00},
    /****DVP & MIPI****/
    {0x0199, 0x00},	//out window offset
    {0x019a, 0x06},
    {0x007b, 0x2a},
    {0x0023, 0x2d},
    {0x0201, 0x27},
    {0x0202, 0x56},
    {0x0203, 0xb6},
    {0x0212, 0x80},
    {0x0213, 0x07},
    {0x0215, 0x10},
    {0x003e, 0x91},
    {REG_NULL, 0x00},
};
